//
//  SEGMineCarListViewModel.h
//  Commom
//
//  Created by 梁学彰 on 2020/6/5.
//

#import <Foundation/Foundation.h>
#import "SEGCarRentalListItemModel.h"
#import "SEGHouseRentalAndSaleRequestManager.h"
#import "ReactiveObjC.h"

NS_ASSUME_NONNULL_BEGIN

@interface SEGMineCarListViewModel : NSObject
@property (nonatomic, strong) SEGHouseRentalAndSaleRequestManager *requestManager;
@property (nonatomic, strong) NSMutableArray <SEGCarRentalListItemModel *>*mineRentalArray;


- (RACSignal *)sendMineRentalListRequest;
- (RACSignal *)sendDeleteRequestWithRentalId:(NSString *)rentalId;
- (RACSignal *)sendoffLineRequestWithRentalId:(NSString *)rentalId;
- (RACSignal *)sendShineRequestWithRentalId:(NSString *)rentalId;
@end

NS_ASSUME_NONNULL_END
